package com.xin.entity.shop;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 员工和店铺直接的关联表
 */
@TableName("t_org_shop_employee")
public class ShopEmployeeEntity {

    private Long id;

    private Long shopId;

    private Long employeeId;

    private Integer isAdmin;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public Integer getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    @Override
    public String toString() {
        return "ShopEmployeeEntity{" +
                "id=" + id +
                ", shopId=" + shopId +
                ", employeeId=" + employeeId +
                ", isAdmin=" + isAdmin +
                '}';
    }
}
